package com.hunau.system.domain;

import com.hunau.common.annotation.Excel;
import com.hunau.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 物联网数据采集类型对象 tb_iotype
 * 
 * @author ruoyi
 * @date 2020-03-20
 */
public class TbIotype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 类型名 */
    @Excel(name = "类型名")
    private String ctype;

    /** 0-无效,1-有效 */
    @Excel(name = "0-无效,1-有效")
    private String delflag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCtype(String ctype) 
    {
        this.ctype = ctype;
    }

    public String getCtype() 
    {
        return ctype;
    }
    public void setDelflag(String delflag) 
    {
        this.delflag = delflag;
    }

    public String getDelflag() 
    {
        return delflag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ctype", getCtype())
            .append("delflag", getDelflag())
            .toString();
    }
}
